package cn.item.buckle.confg;

import cn.item.buckle.confg.ConfigEnum;

public class CommonConfig {
	/** hive metastore 服务地址 */
	public static final String HIVE_METASTORE_ADDR = "thrift://node00:9083";
	/** Spark standalone资源调度集群地址*/
	public static final String SPARK_STANDALONE_ADDR = "spark://node00:7077";
	public static final String HIVE_DATABASE = "traffic";
	/** 车辆抓拍记录表名 */
	public static final String MONITOR_FLOW_ACTION = "monitor_flow_action";
	/** 监控id和抓拍探头id绑定关系 */
	public static final String MONITOR_CAMERA_INFO = "monitor_camera_info";
	/** 本地数据存放目录 */
	public static final String LOCAL_DATA_DIR = "G:\\学习\\大数据\\项目\\卡扣监控\\data\\";
	public static final String LOCAL_DATA_DIR_1 = "/学习/大数据/项目/卡扣监控/data/";
	public static final String MONITOR_FLOW_ACTION_FILE = LOCAL_DATA_DIR_1 + MONITOR_FLOW_ACTION + ".txt";
	public static final String MONITOR_CAMERA_INFO_FILE = LOCAL_DATA_DIR_1 + MONITOR_CAMERA_INFO + ".txt";

	public static void main(String[] args) {
		System.out.println(ConfigEnum.HIVE_METASTORE_ADDR.getValue());
		System.out.println(ConfigEnum.SPARK_STANDALONE_ADDR.getValue());
	}
}
